home *** CD-ROM | disk | FTP | other *** search
/ Canadian Geographic Explorer / Canadian Geographic Explorer.iso / pc / riddler.dxr / 00028_Current Question Script.ls < prev    next >
Encoding:
Text File  |  1996-10-03  |  626 b   |  13 lines

  1. on exitFrame
  2.   global gCurrQuestion, gAnimObj, gVoiceChannel, gPathToSound, fileDelimiter, gValue, gCategory, gCatSprite, gValueSprite
  3.   if not (the puppet of sprite gCatSprite) then
  4.     puppetSprite(gCatSprite, 1)
  5.   end if
  6.   set the memberNum of sprite gCatSprite to the number of member ("cat" & gCategory & " full") of castLib "categories and point values"
  7.   if not (the puppet of sprite gValueSprite) then
  8.     puppetSprite(gValueSprite, 1)
  9.   end if
  10.   set the memberNum of sprite gValueSprite to the number of member ("cat" & gCategory & "-" & gValue & " full") of castLib "categories and point values"
  11.   updateStage()
  12. end
  13.